<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="" method="post" enctype="multipart/form-data">
        <input type="file" name="myfile" multiple=""> {# 允许提交多个文件 #}
    {#    <input type="file" name="myfile">  只能提交一个文件 #}
        <input type="submit" value="提交">
        {% csrf_token %}
    </form> 
</body>
</html>
